package com.wfw.server.config;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
@RestController
public class WfwServerConfigApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(WfwServerConfigApplication.class).run(args);
	}
	@RequestMapping("/")
	public String home() {
		return "Hello world";
	}
}
